﻿using System;
using System.Collections.Generic;
using System.Text;

namespace xiaodingmarket_Domain.Models
{
    public class EunmType
    {
        /// <summary>
        /// 订单状态
        /// </summary>
        public enum OrderCondition
        {
            /// <summary>
            /// 缺省参数
            /// </summary>
            Defalut = 0,
            /// <summary>
            /// （被举报后）正在审核，逻辑删除
            /// </summary>
            UnderReview = 1,
            /// <summary>
            /// 正在出售,只有买家取消订单是这个值
            /// </summary>
            OnSell = 2,
            /// <summary>
            /// 正在交易
            /// </summary>
            OnDeal = 3,
            /// <summary>
            /// 交易完成，逻辑删除
            /// </summary>
            Done = 4,
            /// <summary>
            /// 审核未通过，重新审核，新建商品
            /// </summary>
            RAuditFailed = 5


        }



        /// <summary>
        /// 商品or悬赏
        /// </summary>
        public enum Kind
        {
            /// <summary>
            /// 商品
            /// </summary>
            Commodity = 1,
            /// <summary>
            /// 悬赏
            /// </summary>
             Reward= 2,
        }

        ///// <summary>
        /////权限，行为
        ///// </summary>
        //public enum Action
        //{
        //    /// <summary>
        //    /// 缺省参数
        //    /// </summary>
        //    Defult = 0,
        //    /// <summary>
        //    /// 广告管理
        //    /// </summary>
        //    AD = 1,
        //    /// <summary>
        //    /// 添加管理员
        //    /// </summary>
        //    AddAdmin = 2,
        //    /// <summary>
        //    /// 审核管理
        //    /// </summary>
        //    Audit = 3,
        //    /// <summary>
        //    /// 游客，浏览不能操作，留出来的，不用易班授权也能看，任何需要studentid的操作都不能完成
        //    /// </summary>
        //    Look = 4,
        //    /// <summary>
        //    /// 普通用户，登陆成功后，默认此权限
        //    /// </summary>
        //    CommonUser = 5
        //}

        ///// <summary>
        ///// 角色
        ///// </summary>
        //public enum UserRole
        //{
        //    /// <summary>
        //    /// 缺省参数
        //    /// </summary>
        //    Defult = 0,
        //    /// <summary>
        //    /// 审核管理员，获得逻辑删除的权限
        //    /// </summary>
        //    AuditAdmin = 1,
        //    /// <summary>
        //    /// 超级管理员，获得添加删除上述管理的权限
        //    /// </summary>
        //    Administrators = 2
        //}

        /// <summary>
        /// 用户行为
        /// </summary>
        //public enum UserAction
        //{
        //    /// <summary>
        //    /// 缺省参数
        //    /// </summary>
        //    Defalut = 0,
        //    /// <summary>
        //    /// 卖
        //    /// </summary>
        //    Sell = 1,
        //    /// <summary>
        //    /// 买
        //    /// </summary>
        //    Buy = 2,
        //    /// <summary>
        //    /// 浏览
        //    /// </summary>
        //    Look = 3,
        //    /// <summary>
        //    /// 收藏
        //    /// </summary>
        //    Like = 4,
        //}


        /// <summary>
        /// 品目分类
        /// </summary>
        public enum Category
        {
            /// <summary>
            /// 缺省参数
            /// </summary>
            Defalut = 0,
            /// <summary>
            /// 服装配饰
            /// </summary>
            clothing = 1,
            /// <summary>
            /// 电子产品
            /// </summary>
            electronicproduct = 2,
            /// <summary>
            /// 美食
            /// </summary>
            Food = 3,
            /// <summary>
            /// 学习资料/电子或实体
            /// </summary>
            Learndata = 4,
            /// <summary>
            /// 娱乐（乐器，篮球，自行车等体育）
            /// </summary>    
            entertainment = 5,
            /// <summary>
            /// 美妆
            /// </summary>    
            makeups = 6,
            /// <summary>
            /// 带饭
            /// </summary>
            PassFood = 7,
            /// <summary>
            /// 带快递
            /// </summary>
            PassExpress = 8,
            /// <summary>
            /// 带打印
            /// </summary>
            PassPrint = 9,
            /// <summary>
            /// 超市代买
            /// </summary>
            PassOther =10,
            /// <summary>
            /// 其他
            /// </summary>    
            other = 11,
        }
        ///// <summary>
        ///// 悬赏单种类枚举
        ///// </summary>
        //public enum OARAction
        //{
        //    /// <summary>
        //    /// 缺省参数
        //    /// </summary>
        //    Defalut = 0,
        //    /// <summary>
        //    /// 带饭
        //    /// </summary>
        //    PassFood = 1,
        //    /// <summary>
        //    /// 带快递
        //    /// </summary>
        //    PassExpress = 2,
        //    /// <summary>
        //    /// 带打印
        //    /// </summary>
        //    PassPrint = 3,
        //    /// <summary>
        //    /// 其他易班详谈
        //    /// </summary>
        //    PassOther = 4
        //}

        /// <summary>
        /// 举报类型
        /// </summary>
        public enum ReportKinds
        {
            /// <summary>
            /// 缺省参数
            /// </summary>
            Defalut = 0,
            /// <summary>
            /// 举报审核中
            /// </summary>
            reviewing = 1,
            /// <summary>
            /// 举报成功
            /// </summary>
            reviewok = 2,
            /// <summary>
            /// 举报不通过
            /// </summary>
            reviewno = 3,
        }

        /// <summary>
        /// 商品状态
        /// </summary>
        public enum Commoditystate
        {
            /// <summary>
            /// 缺省参数
            /// </summary>
            Defalut = 0,
            /// <summary>
            /// 审核中
            /// </summary>
            reviewing = 1,
            /// <summary>
            /// 审核通过，可以出售
            /// </summary>
            reviewok = 2,
            /// <summary>
            /// 审核不通过
            /// </summary>
            reviewno = 3,
            /// <summary>
            /// 正在交易中，无内鬼
            /// </summary>
             onsale = 4,
            /// <summary>
            /// 交易成功
            /// </summary>
            saleok = 5,
            /// <summary>
            /// 过期
            /// </summary>
            Expired = 6,
        }
    }
}
